package com.xjun.server;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "---------PaymentFallbackService Fall Back-paymentInfo_OK,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "---------PaymentFallbackService Fall Back-paymentInfo_TimeOut,o(╥﹏╥)o";
    }
}
